<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>控制台</title>
<link rel="stylesheet" href="${rc.contextPath}/statics/css/bootstrap.min.css">
<script src="${rc.contextPath}/statics/libs/jquery.min.js"></script>
<script src="${rc.contextPath}/statics/plugins/layer/layer.js"></script>
<script src="${rc.contextPath}/statics/libs/vue.min.js"></script>
<!-- <script src="${rc.contextPath}/js/B-JUI/js/bjui-all.js"></script> -->
</head>
<body>
<!-- <div id="rrapp" v-cloak>
	<div v-show="showList"> -->
	<div id="show" style="display:block">
<div style="padding-left: 15px;">
<div style="padding-top: 20px;">1、将组织架构、员工和合同数据转存为历史：<a class="btn btn-primary" href="javascript:;" onclick="hisone()"> 月末转结账处理</a>
<span style="color: red;padding-top: 20px;float: right;margin-right: 30px;">建议由总经理来操作</span></div>

<div style="padding-top: 20px;">2、导入组织架构：<a class="btn btn-primary" href="javascript:;" onclick="imp1()"> 导入excel</a> 
<a id="sureup1" style="display:none;" class="btn btn-primary" href="javascript:;" onclick="up1()"> 确认</a>
<span style="color: red;padding-top: 20px;float: right;margin-right: 30px;">建议由行政人员导入文件</span></div>

<div style="padding-top: 20px;">3、导入员工数据：<a class="btn btn-primary" href="javascript:;" onclick="imp2()"> 导入excel</a> 
<a id="sureup2" style="display:none;" class="btn btn-primary" href="javascript:;" onclick="up2()"> 确认</a>
<span style="color: red;padding-top: 20px;float: right;margin-right: 30px;">建议由行政人员导入文件</span></div>

<div style="padding-top: 20px;">4、导入合同数据：<a class="btn btn-primary" href="javascript:;" onclick="imp3()"> 导入excel</a> 
<a id="sureup3" style="display:none;" class="btn btn-primary" href="javascript:;" onclick="up3()"> 确认</a>
<span style="color: red;padding-top: 20px;float: right;margin-right: 30px;">建议由财务人员导入文件</span></div>


<div style="padding-top: 20px;">5、员工加款数据：<a class="btn btn-primary" href="javascript:;" onclick="imp4()"> 导入excel</a> 
<a id="sureup4" style="display:none;" class="btn btn-primary" href="javascript:;" onclick="up4()"> 确认</a>
<span style="color: red;padding-top: 20px;float: right;margin-right: 30px;">建议由财务人员导入文件</span></div>

<div style="padding-top: 20px;">6、员工扣款数据：<a class="btn btn-primary" href="javascript:;" onclick="imp5()"> 导入excel</a> 
<a id="sureup5" style="display:none;" class="btn btn-primary" href="javascript:;" onclick="up5()"> 确认</a>
<span style="color: red;padding-top: 20px;float: right;margin-right: 30px;">建议由财务人员导入文件</span></div>

<div style="padding-top: 20px;">
<div>7、选择月份计算工资：<div></div>
<input id="allDay" type="text"  placeholder="请输入应出勤天数">
<div class="form-group col-sm-2">

<input id="paytime" type="text" class="form-control" placeholder="选择月份进行计算"></div>
<div style="display:inline" id="cal"><a class="btn btn-primary" onclick="calculate()">计算工资</a></div><div id="load" style="display:none"><span>计算中，请等待...</span></div>
<span style="color: red;padding-top: 20px;float: right;margin-right: 30px;">建议由财务人员来操作</span>
</div>

<div style="padding-top: 20px;">
<div>8、选择月份撤销记录：<div></div><div class="form-group col-sm-2"><input id="canceltime" type="text" class="form-control" placeholder="选择月份进行撤销"></div>
<a class="btn btn-primary" onclick="cancel()">撤销记录</a>
<span style="color: red;padding-top: 20px;float: right;margin-right: 30px;">建议由财务人员来操作</span></div>
</div>

<!-- <div style="padding-top: 20px;">9、删除历史记录
<a  class="btn btn-primary" href="javascript:;" onclick="deleteHis()"> 确认</a>
<span style="color: red;padding-top: 20px;float: right;margin-right: 30px;">用于测试，一键删除所有历史记录</span></div> -->

<div style="padding-left: 15px;">
<div style="padding-top: 20px;">注：1、导入excel请按照对应excel模版来进行，否则后果自负。<br/>
<span style="margin-left: 45px;">&nbsp;&nbsp;<a href='${rc.contextPath}/information/部门.xlsx' target='blank'>获取组织架构模版</a>&nbsp;|&nbsp;
<a href='${rc.contextPath}/information/人力.xlsx' target='blank'>获取员工模版</a>&nbsp;|&nbsp;
<a href='${rc.contextPath}/information/合同.xlsx' target='blank'>获取合同模版</a>&nbsp;|&nbsp;
<a href='${rc.contextPath}/information/加款.xlsx' target='blank'>获取员工加款模版</a>&nbsp;|&nbsp;
<a href='${rc.contextPath}/information/扣款.xlsx' target='blank'>获取员工扣款模版</a></span></div></div>
</div>
 <input type="file" id="uploadFile1" style="display:none" name="uploadFile1"/> 
 <div style="display:none" id="zzjgTime">
 <div style="margin-top: 20px;margin-left: 20px;">
 <span>数据时间：</span><input id="inorgtime1"  class="form-control" type="text" placeholder="时间" style="width:205px;display:initial;"/>
</div>
</div>

 <input type="file" id="uploadFile2" style="display:none" name="uploadFile2"/> 
 <div style="display:none" id="ygTime">
 <div style="margin-top: 20px;margin-left: 20px;">
 <span>数据时间：</span><input id="inorgtime2"  class="form-control" type="text" placeholder="时间" style="width:205px;display:initial;"/>
</div>
</div>

 <input type="file" id="uploadFile3" style="display:none" name="uploadFile3"/> 
 <div style="display:none" id="htTime">
 <div style="margin-top: 20px;margin-left: 20px;">
 <span>数据时间：</span><input id="inorgtime3"  class="form-control" type="text" placeholder="时间" style="width:205px;display:initial;"/>
</div>
</div>


 <input type="file" id="uploadFile4" style="display:none" name="uploadFile4"/> 
 <div style="display:none" id="addTime">
 <div style="margin-top: 20px;margin-left: 20px;">
 <span>数据时间：</span><input id="inorgtimeadd"  class="form-control" type="text" placeholder="时间" style="width:205px;display:initial;"/>
</div>
</div>


 <input type="file" id="uploadFile5" style="display:none" name="uploadFile5"/> 
 <div style="display:none" id="lostTime">
 <div style="margin-top: 20px;margin-left: 20px;">
 <span>数据时间：</span><input id="inorgtimelost"  class="form-control" type="text" placeholder="时间" style="width:205px;display:initial;"/>
</div>
</div>

<!-- <input type="text" id="uploadFile6" style="display:none" name="uploadFile6"/> 
 <div style="display:none" id="calTime">
 <div style="margin-top: 20px;margin-left: 20px;">
 <span>计算时间：</span><input id="inorgtimelost"  class="form-control" type="text" placeholder="时间" style="width:205px;display:initial;"/>
</div>
</div>

<input type="text" id="uploadFile7" style="display:none" name="uploadFile7"/> 
 <div style="display:none" id="cancelTime">
 <div style="margin-top: 20px;margin-left: 20px;">
 <span>计算时间：</span><input id="inorgtimelost"  class="form-control" type="text" placeholder="时间" style="width:205px;display:initial;"/>
</div>
</div> -->

 <div style="display:none" id="hisTime">
 <div style="margin-top: 20px;margin-left: 20px;">
 <span>数据时间：</span><input id="inorgtime4"  class="form-control" type="text" placeholder="时间" style="width:205px;display:initial;"/>
</div>
</div>
</div>
<!-- </div>
</div> -->
</body>
<script src="${rc.contextPath}/js/laydate/laydate.js"></script>
<script src="${rc.contextPath}/js/sys/main.js?_${date.systemTime}"></script>
<script>
laydate.render({
	  elem: '#inorgtime1', //指定元素
	  type: 'month',
	  max:'currentdate'
	});
laydate.render({
	  elem: '#inorgtime2', //指定元素
	  type: 'month',
	  max:'currentdate'
	});
laydate.render({
	  elem: '#inorgtime3', //指定元素
	  type: 'month',
	  max:'currentdate'
	});
laydate.render({
	  elem: '#inorgtime4', //指定元素
	  type: 'month',
	  max:'currentdate'
	});
laydate.render({
	  elem: '#inorgtimeadd', //指定元素
	  type: 'month',
	  max:'currentdate'
	});
laydate.render({
	  elem: '#inorgtimelost', //指定元素
	  type: 'month',
	  max:'currentdate'
	});
laydate.render({
	  elem: '#paytime', //指定元素
	  type:'month',
	  max:'currentmonth'
	});
laydate.render({
	  elem: '#canceltime', //指定元素
	  type:'month',
	  max:'currentmonth'
	});
</script>
</html>